package com.etc.service;

import java.util.List;

import com.etc.entity.Desk;
import com.etc.entity.FoodBean;
import com.etc.entity.FoodType;
import com.etc.entity.LineupBean;
import com.etc.entity.Order;

public interface FoodService {
	public List<FoodBean> getFood(int sellerId,int foodTypeId);
	public List<Desk> getTable(int sellerId);
	public boolean doUpDesk1(int deskId);
	public boolean addOrder(Order order);
	public boolean addOrderDetail(int orderId,int foodId,int buyNumber);
	public boolean addBoth(Order order,String id[],String num[]);
	
	//获取菜品分类
	public List<FoodType> getFoodType();
		
	//添加菜品
	public boolean insertFood(FoodBean food);
	public List<LineupBean> gesMinLineup(int sellerId);
	public int doUpdateLine(int lineupId);
}
